<div class="doc-list" ng-controller="homeCtrl" >
	<div class="cards">
		<#list list as pro>
		  <div class="col-md-2">
		    <div class="card">
			    <a ui-sref="project({rootId:'${pro.id!}',date:'${.now}'})" title="${pro.name!}">
			    	<p class="my-item">${pro.name!}</i></p>
			    </a>
			    <i class="icon icon-pencil" data-id="${pro.id!}" ng-click="createRootPro($event)" data-toggle="modal" data-target="#createProjectModal"></i>
		    </div>
		  </div>
		</#list>

	  <div class="col-md-2">
	    <div class="card">
			<a href="#" ng-click='createRootPro($event)' title="新建项目" data-toggle="modal" data-target="#createProjectModal" >
					<p class="my-item">新建项目&nbsp;<i class="icon-plus"></i></p>
			</a>
	    </div>
	  </div>
	  
	</div>
	
	<!-- 模板对话框 -->
	<div class="modal fade" id="createProjectModal">
	  <div class="modal-dialog">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
	        <h4 class="modal-title">编辑项目</h4>
	      </div>
	      <div class="modal-body">
	      
	      </div>
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
	      </div>
	    </div>
	  </div>
	</div>
	
</div>